/**
 *
 * @copyright       Copyright 2012, Mark Zhao
 * @license         CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
 * @link            http://www.vkmark.info
 * @Author          Mark Zhao (zhaody901@126.com)
 * @filename		common.less
 * @description		核心公共配置文件,包括核心颜色配置,less参数配置,布局配置
 */


/*
	less variable setting
*/
@color_front	: #333333;
@color_link		: #b50a04;
@color_hover	: #b50a04;
@color_hlight	: #b50a04;
@color_main		: #333333;

@font_yahei		: Arial, '微软雅黑';
@font_song		: Arial, '宋体';

@size_main		: 12px;
@size_nav		: 13px;

@base_dir		: '../images/bg/';

@index_alpha	: 0.7;
@filler			: @index_alpha*100;


/*
	总体设置
*/
body{
	background: #fff url("@{base_dir}n_body_bg.jpg") repeat-x 0 0;
	font-size:@size_main;
	line-height:2em;
	font-family:@font_yahei;
	color: @color_front;
}
a{
	color:@color_front;
	text-decoration:none;
}
a:hover{
	color: @color_link;
}

p{
	text-indent:2em;
}
p a{
	color: @color_link;
}
.hasmore{
	position: relative;
}
.hasmore .s-more-b{
	display: block;
	position: absolute;
	top:15px;
	right:5px;
}
.hasmore .s-more-w{
	display: block;
	position: absolute;
	top:5px;
	right:20px;
}

li.hastime{
	padding-right:10px;
	position: relative;
}
li.hastime .time{
	float: right;
}
li.hastime .timef{
	position:absolute;
	right:10px;
	bottom:1px;
	color: @color_hlight;
}


/*
	layout
*/
.ym-wrapper{
	width:980px;
	margin: 0px auto;
}

.ym-w196{
	width:196px;
}
.ym-w222{
	width:222px;
}
.ym-w244{
	width:244px;
}
.ym-w254{
	width:254px;
}
.ym-w260{
	width:260px;
}
.ym-w300{
	width:300px;
}
.ym-w320{
	width:320px;
}
.ym-w340{
	width:340px;
}
.ym-w380{
	width:380px;
}
.ym-w395{
	width:395px;
}
.ym-w470{
	width:470px;
}
.ym-w585{
	width:585px;
}
.ym-w715{
	width:715px;
}
.ym-w765{
	width:765px;
}
.ym-gbox{
	padding:0;
}

.ym-grid h2{
	padding:0;
}
.mt-10{
	margin-top: 10px;
}
.mt-15{
	margin-top: 15px;
}
.mt-20{
	margin-top: 20px;
}
.mt-30{
	margin-top: 30px;
}
.mt-32{
	margin-top: 32px;
}
.ml-0{
	margin-left: 0px;
}
.ml-10{
	margin-left: 10px;
}
.ml-20{
	margin-left: 20px;
}
.ml-32{
	margin-left: 32px;
}
.ml-40{
	margin-left: 40px;
}
.mb-20{
	margin-bottom:20px;
}
.mb-10{
	margin-bottom: 10px;
}
.mb-30{
	margin-bottom:30px;
}
/*
	sprite setting
*/
.s-about-us {
	background: url("@{base_dir}sprite.png") no-repeat 0 -1152px;
	width: 585px;
	height: 205px;
}

.s-about-culture {
	background: url("@{base_dir}sprite.png") no-repeat 0 -331px;
	width: 385px;
	height: 205px;
}
.s-more-b {
	background: url("@{base_dir}sprite.png") no-repeat -812px -296px;
	width: 42px;
	height: 12px;
}
.s-more-w {
	background: url("@{base_dir}sprite.png") no-repeat -642px -297px;
	width: 39px;
	height: 15px;
}
.s-submenu-bottom {
	background: url("@{base_dir}sprite.png") no-repeat -642px 0;
	width: 260px;
	height: 17px;
}
.s-content-title {
	background: url("@{base_dir}n_title_bg.jpg") no-repeat 0 0;
	width: 715px;
	height: 70px;
}
.s-news-top {
	background: url("@{base_dir}sprite.png") no-repeat -642px -519px;
	width: 320px;
	height: 181px;
}
.s-cat-case-share {
	background: url("@{base_dir}n_cat_case_share_bg.jpg") no-repeat 0 0;
	width: 320px;
	height: 211px;
}
.s-cat-case-road {
	background: url("@{base_dir}n_cat_case_road_bg.jpg") no-repeat 0 0;
	width: 320px;
	height: 211px;
}
.s-cat-case-coop {
	background: url("@{base_dir}n_cat_case_coop_bg.jpg") no-repeat 0 0;
	width: 320px;
	height: 211px;
}
.s-nav-us,
.s-nav-news,
.s-nav-ser,
.s-nav-culture,
.s-nav-products,
.s-nav-case,
.s-nav-invest,
.s-nav-contact,
.s-nav-line{
	display: inline-block;
	background-image: url("@{base_dir}n_nav_bg.jpg");
	background-repeat: no-repeat;
	width:60px;
	height:19px;
}

.s-nav-us{
	background-position:0px -19px;
}
.s-nav-news{
	background-position:-71px -19px;
}
.s-nav-ser{
	background-position:-143px -19px;
}
.s-nav-culture{
	background-position:-214px -19px;
}
.s-nav-products{
	background-position:-285px -19px;
}
.s-nav-case{
	background-position:-356px -19px;
}
.s-nav-invest{
	background-position:-427px -19px;
}
.s-nav-contact{
	background-position:-498px -19px;
}
.s-nav-line{
	background-position:-61px -19px;
	width:1px;
}
.hover .s-nav-us{
	background-position:0px 0px;
}
.hover .s-nav-news{
	background-position:-71px 0px;
}
.hover .s-nav-ser{
	background-position:-143px 0px;
}
.hover .s-nav-culture{
	background-position:-214px 0px;
}
.hover .s-nav-products{
	background-position:-285px 0px;
}
.hover .s-nav-case{
	background-position:-356px 0px;
}
.hover .s-nav-invest{
	background-position:-427px 0px;
}
.hover .s-nav-contact{
	background-position:-498px 0px;
}

.hover .s-nav-line{
	background-position:-61px 0;
	width:1px;
}
/*
	header
*/
.header{
	height:95px;
	position: relative;
}

.header .logo{
	position: absolute;
	bottom:15px;
	left:0;
}

.header .tel{
	position: absolute;
	top:20px;
	right:0px;
}
.header .nav{
	font-family:@font_yahei;
	height:20px;
	font-size:@size_nav;
	line-height:20px;
	font-weight:bold;
	position: absolute;
	right:0px;
	bottom:15px;
}
.header .nav ul li{
	float: left;
}
.header .nav ul li a{
	color: #000;
}
.header .nav ul li.active a{
	color: #b50a04;
}


/*
	banner
*/
.banner{
	margin-top: 10px;
	height:260px;
}

/*
	full-content
*/
.full_content {

}
.full_content .ym-gbox {
	padding:10px 20px;
	line-height:2.3em;
}


/*
	content wrapper of sidebar and show
*/

.content{
	background:url("@{base_dir}n_show_bg.jpg") repeat-y right 0 ;
}
/*
	sidebar
*/
.sidebar {
	background:url("@{base_dir}n_sidebar_bg.jpg") 0 0 repeat-y;
	width:260px;
	padding-bottom:55px;
}
.sidebar .submenu ul li {
	background-image: url("@{base_dir}sprite.png");
	width:220px;
	height:28px;
	line-height:28px;
	text-align:center;
	position: relative;
	z-index:1;
	_margin-top:-3px;
}
.sidebar .submenu ul li a {
	display: block;
	color:#333;
}
.sidebar .submenu ul li a:hover{
	color: #fff;
}

.sidebar .submenu ul li.normal {
	background-position: -642px -1898px;
}
.sidebar .submenu ul li.normalnobg {
	background-position: -642px -1842px;
}
.sidebar .submenu ul li.active, .sidebar .submenu ul li.likeactive{
	background-position: -642px -1870px;
}
.sidebar .submenu ul li.active a, .sidebar .submenu ul li.likeactive a{
	color:#fff;
}

.sidebar .plan ul li {
	background-image: url("@{base_dir}sprite.png");
	width: 191px;
	height: 30px;
	padding-left: 25px;
	line-height: 28px;
	font-weight:bold;
}
.sidebar .plan ul li a {
	display: block;
	_padding-top:7px;
}
.sidebar .plan ul li span {
	display: inline-block;
	background-image: url("@{base_dir}sprite.png");
	width: 15px;
	height: 14px;
	line-height:14px;
	text-align:center;
	font-weight:bold;
	color:#fff;
	margin-right: 15px;
}
.sidebar .plan ul li.normal {
	background-position: -642px -1022px;
}
.sidebar .plan ul li.normal span{
	background-position: -642px -1072px;
}
.sidebar .plan ul li.active {
	background-position: -642px -992px;
}
.sidebar .plan ul li.active span{
	background-position: -642px -1136px;
}

.sidebar .contact{
	text-align:center;
}


/*
	right show
*/
.show {
	margin-top: 15px;
}
.show .subnav{
	text-align:right;
	padding-right:5px;
}
.show .subnav a{
	height:19px;
	line-height:19px;
	font-size:12px;
}
.show .subnav a, #show .subnav span{
	color:#666;
}
.show .subnav a.current{
	color:#ccc;
}

.show .subtitle{
	height:43px;
}
.show .subtitle h2{
	font-size:15px;
	font-weight:bold;
	line-height: 42px;
	padding-left: 33px;
	color:@color_hover;
}
.show .subtitle h2 span{
	-webkit-text-size-adjust:none;
	font-size:11px;
	font-weight:normal;
	color:@color_main;
}


/*
	footer
*/
.footer { 
	border:1px solid #CFCFCF; 
	margin:0px auto 50px; 
	background:#F7F7F7;
}
.footer .menus{ 
	background:url("@{base_dir}n_footer_bg.jpg") top left repeat-x; 
	height:27px;
}
.footer .menus dl{
	float:right;
}
.footer .menus ul{ 
	float:left; 
	line-height:27px; 
	padding-left:40px;
}
.footer .menus ul span{ 
	padding:0px 10px;
}
.footer .menus ul a{
	color:#333333; 
}
.footer .about{ 
	padding: 0px 40px; 
	margin-top:15px; 
	line-height:200%; 
	color:#666666;
}
.footer .link-logo{ 
	margin: 10px 40px; 
	background:url("@{base_dir}n_footer_link_bg.jpg") top left no-repeat; 
	padding-left:40px;
}
.footer .link-logo img{
	border:1px solid #D5D5D5;
}
.footer .link-text{ 
	padding: 0px 40px; 
	color:#333333; 
	line-height:200%;
}
.footer .link-text a{ 
	color:#333333;
}
.footer .copyright{ 
	padding: 20px 40px; 
	text-align:center; 
	font-family:Arial;
}